/* =========================================== */
/* CSS for control sap.uxap/ObjectPageSection  */
/* Base theme                                  */
/* =========================================== */

.sapUxAPObjectPageSection {
	margin-left: 0;
	margin-bottom: 0;
}

.sapUxAPObjectPageSectionTitleUppercase {
	text-transform: uppercase;
}

.sapUxAPObjectPageSectionHeader {
	box-sizing: border-box;
	height: 3rem;
	line-height: 3rem;
	padding: 0 3rem 0 3rem;
}

.sapUiMedia-Std-Desktop .sapMSplitContainer:not(.sapMSplitContainerHideMode) .sapMSplitContainerDetail .sapUxAPObjectPageSectionHeader,
.sapUiMedia-Std-Tablet .sapMSplitContainer:not(.sapMSplitContainerHideMode) .sapMSplitContainerDetail .sapUxAPObjectPageSectionHeader,
html .sapUiContainer-Medium .sapMSplitContainer:not(.sapMSplitContainerHideMode) .sapMSplitContainerDetail .sapUxAPObjectPageSectionHeader {
	padding-left: 2rem;
}

.sapUiMedia-Std-Tablet .sapUxAPObjectPageSectionHeader,
html .sapUiContainer-Medium .sapUxAPObjectPageSectionHeader {
	padding: 0 2rem 0 2rem;
}

.sapUiMedia-Std-Phone .sapUxAPObjectPageSectionHeader,
html .sapUiContainer-Narrow .sapUxAPObjectPageSectionHeader {
	padding: 0 1rem 0 1rem;
}

.sapUxAPObjectPageSectionTitle {
	box-sizing: border-box;
	display: inline-block;
	height: 3rem;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sapUxAPSectionShowHideButton {
	float: right;
}

.sapUxAPSectionShowHideButton:not(:last-child) {
	float: right;
	margin-left: 0.5rem;
}

.sapUiSizeCompact .sapUxAPSectionShowHideButton {
	margin-top: 0.5rem;
}

.sapUiSizeCompact .sapUxAPObjectPageSectionTitle {
	height: 2.5rem;
	line-height: 2rem;
	padding-bottom:0.5rem;
}

.sapUiSizeCompact .sapUxAPObjectPageSectionHeader {
	height: 2.5rem;
	line-height: 2rem;
}

/* IE does not support css outline-offset */
html[data-sap-ui-browser^="ie"].sap-desktop .sapUxAPObjectPageSection:focus {
	outline: none;
	position: relative;
}

html[data-sap-ui-browser^="ie"].sap-desktop .sapUxAPObjectPageSection:focus:before {
	content: "";
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	border: 0.125rem dotted @sapUiContentFocusColor;
}